function showError(message, el) {
	Ext.MessageBox.show({
        title	: 'Error',
        msg		: message,
        buttons	: Ext.MessageBox.OK,
        icon	: Ext.MessageBox.ERROR,
        fn		: function () {
        	if (el != null) {
        		el.focus(false, 50);
        	}
        }
    });
}

function goTo(url) {
	window.location.href = url;
}